package com.zhx.learn.stream.cart;

/**
 * @author ：zhanghaixuan
 * @date ：Created in 2019-09-18 14:04
 * 用途         ： 购物车商品类 下单商品信息
 */
public class Sku {
    /**
     * 编号
     */
    private Integer skuId;
    /**
     * 名称
     */
    private String skuName;
    /**
     * 单价
     */
    private Double skuPrice;
    /**
     * 购买数量
     */
    private Integer totleNum;

    /**
     * 总价
     */
    private Double totlePrice;

    /**
     * 类型
     */
    private Enum skuCategory;

    public Sku() {
    }

    public Sku(Integer skuId, String skuName, Double skuPrice, Integer totleNum, Double totlePrice, Enum skuCategory) {
        this.skuId = skuId;
        this.skuName = skuName;
        this.skuPrice = skuPrice;
        this.totleNum = totleNum;
        this.totlePrice = totlePrice;
        this.skuCategory = skuCategory;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public Double getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(Double skuPrice) {
        this.skuPrice = skuPrice;
    }

    public Integer getTotleNum() {
        return totleNum;
    }

    public void setTotleNum(Integer totleNum) {
        this.totleNum = totleNum;
    }

    public Double getTotlePrice() {
        return totlePrice;
    }

    public void setTotlePrice(Double totlePrice) {
        this.totlePrice = totlePrice;
    }

    public Enum getSkuCategory() {
        return skuCategory;
    }

    public void setSkuCategory(Enum skuCategory) {
        this.skuCategory = skuCategory;
    }
}
